package day1110.demo02;

/**
 * @author wql
 * @version 1.0
 * @date 2022/11/10 15:49
 */

public abstract class Templete {

    public abstract double area(Integer r);

    public abstract double perimeter(Integer r);

    public final String jiAndZhou(Integer t){
        return "面积="+area(t)+"周长="+perimeter(t);
    }
}
